package ac.zlf.maven.template.controller;

import javafx.fxml.Initializable;
import javafx.stage.Stage;

/**
 * Created by Administrator on 2018/6/16.
 */
public abstract class ParentController implements Initializable {
    private Stage stage;

    /**
     * 传递的数据
     */
    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public void setStage(Stage stage) {
        this.stage = stage;
    }

    public Stage getStage() {
        return stage;
    }
}
